<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* div{
            column-count: 3;
            column-fill: 3;
            column-gap: 3;
            column-rule: 3;
            column-rule-color: aqua;
            column-rule-style: solid;
            column-rule-width: 20px;
            column-span: 3;
            column-width: 3;
            columns: 3;
        } */
        div{
            width: 210px;
            height: 50px;
            float: left;
            margin: 10px;
        }
        .one{
            background: linear-gradient(to right bottom,red,blue 70px);
        }
        .two{
            background: linear-gradient(to right top,yellow,#000 70px);
        }
        .three{
            background: linear-gradient(red,green, blue);
        }
        .four{
            background: linear-gradient(to right,green,yellow,blue,red,#000);
        }
        .div1{
            border: 1px solid red;
            width: 400px;
            height: 200px;
            background-color: aliceblue;
            /* visibility: visible;占位还存在 */
            display: block;/*不占位*/
        }
        .div2{
            width: 674px;
            margin-left: 400px;
            background-color: azure;
        }
        .div2 a{
            display: inline-block;
            width: 100px;
            height: 36px;
            text-decoration: none;
            font-size: 16pt;
            border: 1px solid ;
            padding-top: 3px;
            text-align: center;
            margin-right: 3px;
            margin-left: 3px;
            background-color: beige;
        }
        .div2 a:hover{
            font-weight: bolder;
            background-color: black;
            color:white;
        }
        .div3{
            font-size: 1.5rem;
            border: 1px solid goldenrod;
            width: 200px;
            position: relative;/*相对自己默认的位子进行偏移*/
            left: -320px;
            text-align: center;
            top: 70px;
        }
    </style>
</head>
<body>
    <div class="div1"></div>
    <div class="div3">这是一段说明文字</div>
    <div class="div2">
        <a href="#">首页</a>
        <a href="#">电器类</a>
        <a href="#">生活类</a>
        <a href="#">书类</a>
        <a href="#">厨房用品</a>
        <a href="#">联系站长</a>
    </div>
    <!-- <div>
        当需要在页面中展示大量文本时，如果每段的文本都很长，阅读起来就会非常麻烦，
有可能读错行或读串行。为了提高阅读的舒适性，CSS3 中引入了多列布局模块，用于以简
单有效的方式创建多列布局。所谓多列布局指的就是您可以将文本内容分成多块，然后让
这些块并列显示，类似于报纸、杂志那样的排版形式，如下图所示：
    </div> -->
    <!-- <div class="one"></div>
    <div class="two"></div>
    <div class="three"></div>
    <div class="four"></div> -->
</body>
</html>